/* =========================================================
   Base Colors
========================================================= */
:root {
  --brand-blue: #255184;
  --brand-red: #880026;
  --dark-bg: #221f1f;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --black: #000000;
}

/* =========================================================
   Resets / Layout
========================================================= */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* =========================================================
   Header / Footer / Headings (unchanged)
========================================================= */
header { background-color: var(--brand-blue); }
header img { border-bottom: 5px solid var(--brand-red); }

footer {
  background-color: var(--dark-bg);
  color: var(--white);
  padding-top: 25px;
  padding-bottom: 25px;
  margin-bottom: 0;
  flex-shrink: 0;
}

h1, h2, h3, h4 { color: var(--brand-red); font-weight: bold; }
h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3, h4 { font-size: 2rem; }

.section-title { color: var(--brand-blue); margin-bottom: 1rem; font-weight: bold; }
.section-content { background-color: var(--light-bg); padding: 2rem; border-radius: 8px; color: #221f1f; }
hr { border: 0; border-top: 2px solid var(--brand-red); margin: 2rem 0; }

/* =========================================================
   BENEFITS, ACCORDION, PARALLAX, SOCIAL, ETC. (unchanged)
========================================================= */
.benefits-wrapper {
  background-color: var(--brand-blue);
  padding: 2rem;
  color: var(--white);
  width: 100vw;
  margin-left: calc(-100vw / 2 + 50%);
  margin-right: calc(-100vw / 2 + 50%);
}
.benefits-section { max-width: 1366px; margin: 0 auto; }
.benefit-card {
  background-color: var(--light-bg);
  color: #221f1f;
  border: 1px solid var(--brand-red);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}
.benefit-card:hover { transform: scale(1.05); box-shadow: 0 4px 8px rgba(0,0,0,0.2); }
.benefit-icon { font-size: 2.25rem; color: var(--brand-red); margin: 1rem 0; }
.benefit-title { font-size: 1.3rem; font-weight: bold; color: var(--brand-blue); margin-bottom: 0.5rem; }
.benefit-description { font-size: 1.125rem; color: #221f1f; }
.why-join-content { font-size: 1.125rem; }

.accordion-button { background-color: var(--brand-blue); color: var(--white); border: none; }
.accordion-button:not(.collapsed) { color: var(--brand-blue); background-color: var(--white); }
.accordion-body { background-color: var(--light-bg); color: #000; }

/* Parallax */
.parallax-section {
  width: 100vw;
  height: 350px;
  background-image: url('https://kseblobstorage.blob.core.windows.net/sitefiles/avalanche-a-list-fy24-25/Mac-Celley.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  margin-left: calc(-100vw / 2 + 50%);
  margin-right: calc(-100vw / 2 + 50%);
  padding: 0;
  position: relative;
}
.parallax-content { z-index: 2; padding: 20px; background: rgba(0,0,0,0.5); border-radius: 8px; }
.parallax-content h2 { margin: 0; font-size: 2rem; }
.parallax-content p { margin: 10px 0 0; font-size: 1.2rem; }

/* Social + Footer links */
.social-icon { font-size: 2rem; color: var(--white); margin: 0 15px; transition: color .3s, transform .3s; }
.social-icon:hover { color: var(--brand-blue); transform: scale(1.2); }
.footer-link { color: var(--white); text-decoration: none; transition: color .3s; }
.footer-link:hover { color: var(--brand-blue); }

/* =========================================================
   NAVBAR — aligned to index page styles
========================================================= */
.navbar {
  background-color: var(--black) !important;
  padding: 0.75rem 1rem;
}

/* Brand logo sizing */
.navbar .navbar-brand img { height: 50px; }
/* If you place a wordmark image right after the brand logo */
.navbar .navbar-brand + img { height: 30px; }

/* Nav list spacing and wrapping */
.navbar-nav {
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Toggler icon */
.navbar-toggler-icon {
  width: 1.5em;
  height: 1.5em;
  background-image: url('https://kseblobstorage.blob.core.windows.net/sitefiles/Avalanchetix/menu.png') !important;
}

/* Links */
.nav-link,
.nav-link-custom {
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0.5rem 0.75rem;
  transition: color .2s ease-in-out, background-color .2s ease-in-out;
  border-radius: 4px;
}

.nav-link:hover,
.nav-link:focus,
.nav-link-custom:hover,
.nav-link-custom:focus {
  color: var(--white) !important;
  background-color: var(--brand-blue);
}

/* Active state */
.nav-link-custom.active {
  background-color: var(--brand-blue);
  color: var(--white) !important;
}

/* Dropdown */
.dropdown-menu {
  background-color: var(--black);
  border: none;
  border-radius: 4px;
  padding: 0.5rem 0;
}
.dropdown-item {
  color: var(--white);
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  transition: background-color .2s, color .2s;
}
.dropdown-item:hover { background-color: #222; color: var(--brand-blue); }

/* Optional helper if using .navbar-light anywhere */
.navbar-light { background-color: var(--black) !important; }

/* Responsive tweaks to mirror index */
@media (max-width: 991.98px) {
  .navbar-nav { gap: 0.5rem; align-items: flex-start; }
  .navbar .navbar-brand img { height: 40px; }
  .navbar .navbar-brand + img { height: 26px; }
}

/* =========================================================
   Avalanche Brand Button Overrides (kept)
========================================================= */
.btn-primary {
  background-color: #6F263D !important;
  border-color: #6F263D !important;
  color: #ffffff !important;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #501C2D !important;
  border-color: #501C2D !important;
}
.btn-success {
  background-color: #236192 !important;
  border-color: #236192 !important;
  color: #ffffff !important;
}
.btn-success:hover,
.btn-success:focus {
  background-color: #1A466E !important;
  border-color: #1A466E !important;
  color: #ffffff !important;
}

.card-title {
  font-size: 0.85rem;
  font-weight: bold;
}

.card-subtitle {
  font-size: 0.80rem;
}

.game-time {
  font-size: 0.40rem;
  font-style: italic;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
}

.social-icon i,
.social-icon svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  vertical-align: middle;
}

.social-icon svg {
  fill: currentColor;
  position: relative;
  top: 7px; /* tweak up/down 1–2px if needed */
}